<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class entry extends Admin_Controller { 
	
	public function index()
	{
		//$ci = & get_instance();
		//require_once(APPPATH."views/".$ci->template."/admin_helper.php"); 
		$this->load->view('admin/v_entry');
	}
	
	public function sub_default()
	{
		$url = $this->pop_error('iframe_target_url') ;   
		// echo $url;exit;
		if(!(empty($url)))
		{
			$this->goto_url($url);
		}
		else
		{
			redirect(SELF."/site_info/edit")  ; 
		}
	}
}